package cn.zebra.dev.other.module.shopRevenue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("shop_revenue")
@Getter
@Setter
public class ShopRevenueEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("盈收类型（1 订单，2 充值 ，3 提现，0 保证金）")
    private Long revenueType;

    @ApiModelProperty("盈收金额")
    private BigDecimal money;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
